package sgi.client;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class DateTimeSubscriptionPanel extends JPanel {

	private JTextField textFieldUserName;
	
	private JTextField textFieldLocation;
	/** create DateTime panel */
	/** */
	
	public DateTimeSubscriptionPanel() {

		
		setLayout(null);
		
		
		JLabel lblLocation = new JLabel("Location:");
		lblLocation.setBounds(31, 83, 57, 36);
		add(lblLocation);
		
		textFieldLocation = new JTextField();
		textFieldLocation.setBounds(90, 87, 141, 28);
		add(textFieldLocation);
		textFieldLocation.setColumns(10);
		
		
	}

	
	public String getUserName()
	{
		return textFieldUserName.getText();
	}
	
	public String getlocation()
	{
		return textFieldLocation.getText();
	}
}
